home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12280 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 2e 6f 6e 72 61 6d |Path: ne|ws.onram|
|00000010| 70 2e 6e 65 74 21 75 73 | 65 6e 65 74 0a 46 72 6f |p.net!us|enet.Fro|
|00000020| 6d 3a 20 4c 65 65 20 4d | 65 61 64 6f 72 20 3c 72 |m: Lee M|eador <r|
|00000030| 74 62 73 40 6f 6e 72 61 | 6d 70 2e 6e 65 74 3e 0a |tbs@onra|mp.net>.|
|00000040| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000050| 2e 6c 61 6e 67 2e 63 0a | 53 75 62 6a 65 63 74 3a |.lang.c.|Subject:|
|00000060| 20 52 65 3a 20 41 6e 61 | 6c 6f 67 20 63 6c 6f 63 | Re: Ana|log cloc|
|00000070| 6b 21 0a 44 61 74 65 3a | 20 57 65 64 2c 20 32 37 |k!.Date:| Wed, 27|
|00000080| 20 4d 61 72 20 31 39 39 | 36 20 31 30 3a 31 30 3a | Mar 199|6 10:10:|
|00000090| 34 33 20 2d 30 38 30 30 | 0a 4f 72 67 61 6e 69 7a |43 -0800|.Organiz|
|000000a0| 61 74 69 6f 6e 3a 20 52 | 65 61 6c 54 69 6d 65 0a |ation: R|ealTime.|
|000000b0| 4d 65 73 73 61 67 65 2d | 49 44 3a 20 3c 33 31 35 |Message-|ID: <315|
|000000c0| 39 38 34 41 33 2e 36 32 | 44 41 40 6f 6e 72 61 6d |984A3.62|DA@onram|
|000000d0| 70 2e 6e 65 74 3e 0a 52 | 65 66 65 72 65 6e 63 65 |p.net>.R|eference|
|000000e0| 73 3a 20 3c 33 31 62 37 | 63 63 24 31 34 33 36 31 |s: <31b7|cc$14361|
|000000f0| 37 2e 33 30 64 40 6e 65 | 77 73 2e 61 72 6f 73 6e |7.30d@ne|ws.arosn|
|00000100| 65 74 2e 73 65 3e 0a 4e | 4e 54 50 2d 50 6f 73 74 |et.se>.N|NTP-Post|
|00000110| 69 6e 67 2d 48 6f 73 74 | 3a 20 73 74 65 6d 6d 6f |ing-Host|: stemmo|
|00000120| 6e 73 33 31 2e 6f 6e 72 | 61 6d 70 2e 6e 65 74 0a |ns31.onr|amp.net.|
|00000130| 4d 69 6d 65 2d 56 65 72 | 73 69 6f 6e 3a 20 31 2e |Mime-Ver|sion: 1.|
|00000140| 30 0a 43 6f 6e 74 65 6e | 74 2d 54 79 70 65 3a 20 |0.Conten|t-Type: |
|00000150| 74 65 78 74 2f 70 6c 61 | 69 6e 3b 20 63 68 61 72 |text/pla|in; char|
|00000160| 73 65 74 3d 75 73 2d 61 | 73 63 69 69 0a 43 6f 6e |set=us-a|scii.Con|
|00000170| 74 65 6e 74 2d 54 72 61 | 6e 73 66 65 72 2d 45 6e |tent-Tra|nsfer-En|
|00000180| 63 6f 64 69 6e 67 3a 20 | 37 62 69 74 0a 58 2d 4d |coding: |7bit.X-M|
|00000190| 61 69 6c 65 72 3a 20 4d | 6f 7a 69 6c 6c 61 20 32 |ailer: M|ozilla 2|
|000001a0| 2e 30 20 28 57 69 6e 31 | 36 3b 20 49 29 0a 54 6f |.0 (Win1|6; I).To|
|000001b0| 3a 20 4a 69 6d 6d 79 20 | 50 69 68 6c 20 3c 6d 65 |: Jimmy |Pihl <me|
|000001c0| 67 61 68 40 6d 61 69 6c | 2e 61 72 6f 73 6e 65 74 |gah@mail|.arosnet|
|000001d0| 2e 73 65 3e 0a 0a 4a 69 | 6d 6d 79 20 50 69 68 6c |.se>..Ji|mmy Pihl|
|000001e0| 20 77 72 6f 74 65 3a 0a | 3e 20 0a 3e 20 48 65 6c | wrote:.|> .> Hel|
|000001f0| 6c 6f 2e 0a 3e 20 0a 3e | 20 43 61 6e 20 61 6e 79 |lo..> .>| Can any|
|00000200| 6f 6e 65 20 68 65 6c 70 | 20 6d 65 20 74 6f 20 6d |one help| me to m|
|00000210| 61 6b 65 20 61 20 77 6f | 72 6b 69 6e 67 20 61 6e |ake a wo|rking an|
|00000220| 61 6c 6f 67 20 63 6c 6f | 63 6b 3f 3f 3f 20 49 20 |alog clo|ck??? I |
|00000230| 6e 65 61 64 20 73 6f 75 | 72 63 65 20 6f 72 20 68 |nead sou|rce or h|
|00000240| 65 6c 70 0a 3e 20 61 62 | 6f 75 74 20 68 6f 77 20 |elp.> ab|out how |
|00000250| 61 6e 64 20 77 68 65 72 | 65 20 74 6f 20 75 73 65 |and wher|e to use|
|00000260| 20 53 69 6e 28 76 29 20 | 61 6e 64 20 43 6f 73 28 | Sin(v) |and Cos(|
|00000270| 76 29 2c 20 69 66 20 79 | 6f 75 20 74 68 69 6e 6b |v), if y|ou think|
|00000280| 20 79 6f 75 20 68 61 76 | 65 0a 3e 20 73 6f 6d 65 | you hav|e.> some|
|00000290| 74 69 6e 67 20 74 68 61 | 74 20 63 61 6e 20 68 65 |ting tha|t can he|
|000002a0| 6c 70 20 6d 65 2e 2e 2e | 20 70 6c 65 61 73 65 20 |lp me...| please |
|000002b0| 65 6d 61 69 6c 20 6d 65 | 21 0a 3e 20 0a 3e 20 20 |email me|!.> .> |
|000002c0| 2f 4a 69 6d 6d 79 20 50 | 69 68 6c 20 6d 65 67 61 |/Jimmy P|ihl mega|
|000002d0| 68 40 61 72 6f 73 6e 65 | 74 2e 73 65 59 6f 75 20 |h@arosne|t.seYou |
|000002e0| 77 6f 75 6c 64 20 70 72 | 6f 62 61 62 6c 79 20 73 |would pr|obably s|
|000002f0| 61 6d 65 20 61 20 6c 6f | 74 20 6f 66 20 65 66 66 |ame a lo|t of eff|
|00000300| 6f 72 74 20 61 6e 64 20 | 67 65 74 20 61 20 62 65 |ort and |get a be|
|00000310| 74 74 65 72 20 6c 6f 6f | 6b 69 6e 67 20 63 6c 6f |tter loo|king clo|
|00000320| 63 6b 20 0a 66 61 63 65 | 20 69 66 20 79 6f 75 20 |ck .face| if you |
|00000330| 6a 75 73 74 20 74 61 6b | 65 20 73 6f 6d 65 20 67 |just tak|e some g|
|00000340| 72 61 70 68 20 70 61 70 | 65 72 20 61 6e 64 20 64 |raph pap|er and d|
|00000350| 72 61 77 20 74 68 65 20 | 63 6c 6f 63 6b 20 66 61 |raw the |clock fa|
|00000360| 63 65 20 28 6f 72 20 61 | 74 20 0a 6c 65 61 73 74 |ce (or a|t .least|
|00000370| 20 34 35 20 64 65 67 72 | 65 65 73 20 6f 66 20 69 | 45 degr|ees of i|
|00000380| 74 29 2e 20 54 68 65 6e | 20 79 6f 75 20 77 69 6c |t). Then| you wil|
|00000390| 6c 20 6b 6e 6f 77 20 74 | 68 65 20 78 2c 79 20 70 |l know t|he x,y p|
|000003a0| 6f 73 69 74 69 6f 6e 73 | 20 6f 66 20 74 68 65 20 |ositions| of the |
|000003b0| 31 32 20 0a 6e 75 6d 62 | 65 72 73 20 61 6e 64 20 |12 .numb|ers and |
|000003c0| 74 68 65 20 36 30 20 6d | 69 6e 75 74 65 20 61 6e |the 60 m|inute an|
|000003d0| 64 20 73 65 63 6f 6e 64 | 20 70 6f 73 69 74 69 6f |d second| positio|
|000003e0| 6e 73 20 72 65 6c 61 74 | 69 76 65 20 74 6f 20 74 |ns relat|ive to t|
|000003f0| 68 65 20 63 65 6e 74 65 | 72 20 6f 66 20 0a 74 68 |he cente|r of .th|
|00000400| 65 20 63 6c 6f 63 6b 20 | 66 61 63 65 2e 20 50 75 |e clock |face. Pu|
|00000410| 74 20 74 68 65 6d 20 69 | 6e 20 61 20 74 61 62 6c |t them i|n a tabl|
|00000420| 65 20 61 6e 64 20 75 73 | 65 20 74 68 65 6d 20 74 |e and us|e them t|
|00000430| 6f 20 64 72 61 77 20 74 | 68 65 20 68 61 6e 64 73 |o draw t|he hands|
|00000440| 2e 0a 0a 49 66 20 79 6f | 75 20 77 61 6e 74 20 69 |...If yo|u want i|
|00000450| 74 20 74 6f 20 6c 6f 6f | 6b 20 6e 69 63 65 20 79 |t to loo|k nice y|
|00000460| 6f 75 20 77 69 6c 6c 20 | 68 61 76 65 20 74 6f 20 |ou will |have to |
|00000470| 63 68 61 6e 67 65 20 74 | 68 65 20 73 68 61 70 65 |change t|he shape|
|00000480| 2c 20 73 68 61 64 69 6e | 67 20 0a 61 6e 64 20 63 |, shadin|g .and c|
|00000490| 6f 6c 6f 72 20 6f 66 20 | 74 68 65 20 68 61 6e 64 |olor of |the hand|
|000004a0| 20 28 72 61 74 68 65 72 | 20 74 68 61 6e 20 75 73 | (rather| than us|
|000004b0| 69 6e 67 20 61 20 73 69 | 6d 70 6c 65 20 6c 69 6e |ing a si|mple lin|
|000004c0| 65 29 20 61 73 20 74 68 | 65 20 68 61 6e 64 20 0a |e) as th|e hand .|
|000004d0| 72 6f 74 61 74 65 73 2e | 20 45 61 63 68 20 68 61 |rotates.| Each ha|
|000004e0| 6e 64 20 77 69 6c 6c 20 | 68 61 76 65 20 61 20 64 |nd will |have a d|
|000004f0| 69 73 74 69 6e 63 74 20 | 73 68 61 70 65 2e 20 0a |istinct |shape. .|
|00000500| 0a 41 73 73 75 6d 69 6e | 67 20 73 71 75 61 72 65 |.Assumin|g square|
|00000510| 20 70 69 78 65 6c 73 20 | 79 6f 75 20 6e 65 65 64 | pixels |you need|
|00000520| 20 74 6f 20 73 74 6f 72 | 65 20 74 68 65 20 73 68 | to stor|e the sh|
|00000530| 61 70 65 73 20 61 6e 64 | 20 78 2c 79 20 6f 66 66 |apes and| x,y off|
|00000540| 73 65 74 73 20 6f 66 20 | 0a 74 68 65 20 31 32 20 |sets of |.the 12 |
|00000550| 61 6e 64 20 31 20 6f 27 | 63 6c 6f 63 6b 20 68 6f |and 1 o'|clock ho|
|00000560| 75 72 20 68 61 6e 64 73 | 20 61 6e 64 20 74 68 65 |ur hands| and the|
|00000570| 20 30 2d 37 20 6d 69 6e | 75 74 65 20 61 6e 64 20 | 0-7 min|ute and |
|00000580| 73 65 63 6f 6e 64 20 68 | 61 6e 64 73 2e 20 59 6f |second h|ands. Yo|
|00000590| 75 20 0a 63 61 6e 20 74 | 68 65 6e 20 6d 69 72 72 |u .can t|hen mirr|
|000005a0| 6f 72 20 74 68 65 20 69 | 6d 61 67 65 73 20 61 72 |or the i|mages ar|
|000005b0| 6f 75 6e 64 20 74 68 65 | 20 78 2c 20 79 20 61 6e |ound the| x, y an|
|000005c0| 64 20 64 69 61 67 6f 6e | 61 6c 20 61 78 65 73 20 |d diagon|al axes |
|000005d0| 74 6f 20 74 6f 20 67 65 | 74 20 0a 61 6c 6c 20 74 |to to ge|t .all t|
|000005e0| 68 65 20 6f 74 68 65 72 | 20 68 61 6e 64 20 69 6d |he other| hand im|
|000005f0| 61 67 65 73 2e 0a 0a 2d | 2d 20 4c 65 65 20 4d 65 |ages...-|- Lee Me|
|00000600| 61 64 6f 72 0a | |ador. | |
+--------+-------------------------+-------------------------+--------+--------+